#define _CRT_SECURE_NO_WARNINGS 1
#include "list.h"
#include <iostream>
using namespace std;

int main()
{
	bit::list<int> lt1;
	lt1.push_back(1);
	lt1.push_back(1);
	lt1.push_back(1);
	lt1.push_back(1);

	bit::list<int>::iterator it = lt1.begin();
	while (it != lt1.end())
	{
		cout << *it << " ";
		it++;
	}
	cout << endl;

	for (auto e : lt1)
	{
		cout << e << " ";
	}
	cout << endl;
	return 0;
	return 0;
}